from selenium import webdriver
def init_driver(browerType="chrome",timeout=10):
    driver=None
    if browerType=="chrome":
        driver = webdriver.Chrome()
    elif browerType=="firfox":
        driver=webdriver.Firefox()
    elif browerType=="ie":
        driver=webdriver.Ie()

    driver.maximize_window()
    driver.implicitly_wait(timeout)
    return driver